package com.my.main.common.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * Map工具类
 * @author wuh
 */
public class MapUtil {

	/**
	 * 复制Map_key为String
	 * @return
	 */
	public static Map<String, Object> copyMapKeyStr(Map<String, Object> map) {
		Map<String, Object> resultMap = null;
		if(map != null) {
			resultMap = new HashMap<String, Object>();
			for(Map.Entry<String, Object> entry : map.entrySet()) {
				resultMap.put(entry.getKey(), entry.getValue());
			}
		}
		return resultMap;
	}
	
}
